﻿using Common.FrontEnd;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    /// <summary>
    /// Thing that can provide the score
    /// </summary>
    public interface IScoreProvider
    {
        /// <summary>
        /// Provides the score
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        float getScore(IData data);
        /// <summary>
        /// Provides component score
        /// </summary>
        /// <param name="feature"></param>
        /// <returns></returns>
        float[] getComponentScore(IData feature);
    }
}
